/**
 * 
 */
package ua.kpi.fpm.km61.strat.sp.la;

/**
 * @author Admin
 *
 */
public class MarkedString {

    protected int strnum;
    protected int colnum;
    protected String str;
    
    public MarkedString() {
    }

    /**
     * @param strnum
     * @param colnum
     * @param str
     */
    public MarkedString(int strnum, int colnum, String str) {
	this.strnum = strnum;
	this.colnum = colnum;
	this.str = str;
    }
    
    public MarkedString(String str) {
	this.str = str;
    }

    /**
     * @return the strnum
     */
    public int getStrnum() {
        return strnum;
    }

    /**
     * @param strnum the strnum to set
     */
    public void setStrnum(int strnum) {
        this.strnum = strnum;
    }

    /**
     * @return the colnum
     */
    public int getColnum() {
        return colnum;
    }

    /**
     * @param colnum the colnum to set
     */
    public void setColnum(int colnum) {
        this.colnum = colnum;
    }

    /**
     * @return the str
     */
    public String getStr() {
        return str;
    }

    /**
     * @param str the str to set
     */
    public void setStr(String str) {
        this.str = str;
    }

    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
	return " ERROR[str= " + strnum + ", col= " + colnum
		+ ", str= " + str + "]";
    }
  
    

}
